/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.infor.entity;

import com.jeeplus.modules.infor.entity.Project;
import java.util.List;
import com.google.common.collect.Lists;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 下游客户Entity
 * @author 李超辉
 * @version 2018-04-11
 */
public class LnCustomers extends DataEntity<LnCustomers> {
	
	private static final long serialVersionUID = 1L;
	private Project project;		// 项目
	private String name;		// 一级客户名称
	private String company;		// 收货单位名称
	private String address;		// 收货单位地址
	private String person;		// 负责人
	private String phone;		// 负责人电话
	private List<CustomerGoodsContror> customerGoodsControrList = Lists.newArrayList();		// 子表列表
	private List<ReAddress> reAddressList = Lists.newArrayList();		// 子表列表
	
	public LnCustomers() {
		super();
	}

	public LnCustomers(String id){
		super(id);
	}

	@ExcelField(title="项目", fieldType=Project.class, value="", align=2, sort=1)
	public Project getProject() {
		return project;
	}

	public void setProject(Project project) {
		this.project = project;
	}
	
	@ExcelField(title="一级客户名称", align=2, sort=2)
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@ExcelField(title="收货单位名称", align=2, sort=3)
	public String getCompany() {
		return company;
	}

	public void setCompany(String company) {
		this.company = company;
	}
	
	@ExcelField(title="收货单位地址", align=2, sort=4)
	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}
	
	@ExcelField(title="负责人", align=2, sort=5)
	public String getPerson() {
		return person;
	}

	public void setPerson(String person) {
		this.person = person;
	}
	
	@ExcelField(title="负责人电话", align=2, sort=6)
	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}
	
	public List<CustomerGoodsContror> getCustomerGoodsControrList() {
		return customerGoodsControrList;
	}

	public void setCustomerGoodsControrList(List<CustomerGoodsContror> customerGoodsControrList) {
		this.customerGoodsControrList = customerGoodsControrList;
	}
	public List<ReAddress> getReAddressList() {
		return reAddressList;
	}

	public void setReAddressList(List<ReAddress> reAddressList) {
		this.reAddressList = reAddressList;
	}
}